wayland: Apply maximized and fullscreen state
authorMatthias Clasen <mclasen@redhat.com>
Fri, 27 Feb 2015 23:18:00 +0000 (23:18 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Feb 2015 00:09:03 +0000 (19:09 -0500)
commita0eb0e23468c7516fa7809f22a8bcaf165915c1a
tree04f3020f05ea3bcd6ba86b71da69c390b42c9470
parent3d205a20374f344681989261e7a18135c05a0c5f
wayland: Apply maximized and fullscreen state

We were just throwing the request away if the app asks to
fullscreen or maximize a window before it has been mapped.
This is something the GdkWindow API explicitly supports,
so make it work by saving the state until the surface exists.

This fixes things under weston. There are bugs in mutter
that keep this from working correctly with gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=745303
gdk/wayland/gdkwindow-wayland.c